
using AutoMapper;
using Yozeev.BusinessLogic;
using Yozeev.BusinessLogic.Dtos;

namespace Yozeev.BusinessLogic.Mapper
{

	/// <summary>
    /// 配置AccountDetail的AutoMapper
    /// </summary>
	internal static class AccountDetailMapper
    {
        public static void CreateMappings(IMapperConfigurationExpression configuration)
        {
            configuration.CreateMap <AccountDetail,AccountDetailListDto>();
            configuration.CreateMap <AccountDetailListDto,AccountDetail>();

            configuration.CreateMap <AccountDetailEditDto,AccountDetail>();
            configuration.CreateMap <AccountDetail,AccountDetailEditDto>();

        }
	}
}
